package desmontec.sistema

import grails.test.*



class LoginFunctionalTests extends functionaltestplugin.FunctionalTestCase {
    protected void setUp() {
        super.setUp()
    }

    protected void tearDown() {
        super.tearDown()
    }
	
	// lenin.medeiros - INICIO
	void testaLoginErrado() {
		get("meu pau no cu de rohit")
		
		form() {
			username = "blablabla"
			password = "blablabla"
			
			click "Login"			
		}
		
		assertContentContains "Sorry, we were not able to find a user with that username and password."
		
	}
	// lenin.medeiros - FIM

	
}
